<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null, false)}
        <ul class="nav nav-tabs">
            <li class="active"><a href="#base" data-toggle="tab">全部</a></li>
            <li><a href="#visit" data-toggle="tab">未开始</a></li>
            <li><a href="#record" data-toggle="tab">已开始</a></li>
            <li><a href="#order" data-toggle="tab">已结束</a></li>
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="base">
                <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('title')}:</label>
                        <div class="control-label col-xs-12 col-sm-2" style="text-align:left;">
                            {$row.title}
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="c-thumbs" class="control-label col-xs-12 col-sm-2">{:__('Thumbs')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <img src="{$row.thumbs}"
                                onerror="this.src='/erp.php/ajax/icon?suffix=png';this.onerror=null;"
                                class="img-responsive row list-inline faupload-preview" style="width: 70px;">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('busid')}:</label>
                        <div class="control-label col-xs-12 col-sm-2" style="text-align:left;">
                            {$row.OrderList[0]['business']['nickname']}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Ostatus')}:</label>
                        <div class="control-label col-xs-12 col-sm-2" style="text-align:left;">
                            {$row.OrderList[0]['status_text']}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('total')}:</label>
                        <div class="control-label col-xs-12 col-sm-2" style="text-align:left;">
                            {$row.OrderList[0]['total']}
                        </div>
                    </div>
                    
                    <div class="form-group">
                        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('comment')}:</label>
                        <div class=" control-label col-xs-12 col-sm-8" style="text-align:left;">
                            {$row.OrderList[0]['comment'] ? $row.OrderList[0]['comment'] : '暂无评价内容'}
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="title" class="control-label col-xs-12 col-sm-2">{:__('Ocreatetime')}:</label>
                        <div class=" control-label col-xs-12 col-sm-8" style="text-align:left;">
                            {$row.OrderList[0]['createtime_text']}
                            <!-- {$row.createtime|date="Y-m-d H:i:s",###} -->
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<style>
    a{
        list-style: none;
        color: white;
    }
</style>